Skip to content

Fix pulp-cli commands on vuln report docs#1255

Open
pedro-psb wants to merge 1 commit into
pulp:mainfrom
pedro-psb:fix-vuln-report-cli-commands
Open

Fix pulp-cli commands on vuln report docs#1255
pedro-psb wants to merge 1 commit into
pulp:mainfrom
pedro-psb:fix-vuln-report-cli-commands

Conversation

@pedro-psb

Copy link
Copy Markdown
Member

It was using a non-existent command before.

📜 Checklist

  • Commits are cleanly separated with meaningful messages (simple features and bug fixes should be squashed to one commit)
  • A changelog entry or entries has been added for any significant changes
  • Follows the Pulp policy on AI Usage
  • (For new features) - User documentation and test coverage has been added

See: Pull Request Walkthrough

It was using a non-existent command before.
@pedro-psb pedro-psb force-pushed the fix-vuln-report-cli-commands branch from cc23702 to 36e469b Compare June 12, 2026 19:03

# 5. View the vulnerability report
VULN_REPORT=$(pulp python repository version show --repository security-scan-repo | jq -r '.vuln_report')
pulp vulnerability-report show --href $VULN_REPORT

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pulp vulnerability-report show exists, but it can't handle the href with query arguments returned by repository version show. It only handles a single vuln report href (actually it also has a bug that it accepts almost any single resource href, pretty much like pulp show).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant